package com.ljx.rabbit.domain.vo;


import com.ljx.rabbit.domain.po.HeadGoods;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;


@Data
public class CategoryHead implements Serializable  {
    private Long id;
    private String name;
    private String picture;
    private List<CategoryHead> children=new ArrayList<>();//不加ArrayList会空指针异常
    private List<HeadGoods> goods=new ArrayList<>();
}
